home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 52
/
Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso
/
Aminet
/
dev
/
gg
/
gengetopt-2.6.lha
/
gengetopt-2.6
/
doc
/
cmdline1.h
< prev
next >
Wrap
C/C++ Source or Header
|
2002-06-24
|
2KB
|
53 lines
/* cmdline1.h */
/* File autogenerated by gengetopt version 2.6 */
#ifndef _cmdline1_h
#define _cmdline1_h
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
/* Don't define PACKAGE and VERSION if we use automake. */
#if defined PACKAGE
# undef PACKAGE
#endif
#define PACKAGE "sample1"
#if defined VERSION
# undef VERSION
#endif
#define VERSION "2.0"
struct gengetopt_args_info {
char * str_opt_arg; /* A string option. */
int my_opt_arg; /* Another integer option. */
int int_opt_arg; /* A int option. */
int flag_opt_flag; /* A flag option (default=off). */
long long_opt_arg; /* A long option. */
char * def_opt_arg; /* A string option with default (default='Hello'). */
int help_given ; /* Whether help was given. */
int version_given ; /* Whether version was given. */
int str_opt_given ; /* Whether str-opt was given. */
int my_opt_given ; /* Whether my-opt was given. */
int int_opt_given ; /* Whether int-opt was given. */
int flag_opt_given ; /* Whether flag-opt was given. */
int funct_opt_given ; /* Whether funct-opt was given. */
int long_opt_given ; /* Whether long-opt was given. */
int def_opt_given ; /* Whether def-opt was given. */
char **inputs ; /* unamed options */
unsigned inputs_num ; /* unamed options number */
} ;
int cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
void cmdline_parser_print_help(void);
void cmdline_parser_print_version(void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* _cmdline1_h */